<?php
global $con;
$con = mysql_connect(DB_HOST, DB_USER, DB_PASS);
if (!$con) {
	die('Could not connect: ' . mysql_error());
} else {
	mysql_select_db(DB_NAME, $con);
	mysql_set_charset('utf8');
}